package com.qst.dao;

import com.qst.pojo.Admin;
import com.qst.pojo.Room;
import com.qst.pojo.User;

import java.sql.SQLException;
import java.util.List;

/**
 * @packageName:com.qst.dao
 * @className:LoginuserMapper
 * @Description:
 * @author:zhangyu
 * @date 2021/6/17 18:58
 **/


public interface LoginuserMapper {

    User getuser(String loginname) throws SQLException;

    List<User> getuserbyname(String loginnname);

    Admin getaminbyname(String loginname);
}
